# -*- coding: utf-8 -*-
# @File  : 自动更新浏览器驱动.py
# @Author: zbh
# @Date  : 2025/3/12_15:46


from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

# 使用 ChromeDriverManager 自动下载并设置 ChromeDriver
driver = webdriver.Chrome(service=webdriver.chrome.service.Service(ChromeDriverManager().install()))

driver.implicitly_wait(10)
driver.get("https://www.baidu.com/")
driver.maximize_window()


input()



